import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';

// 全局样式
import './style/main.less';

import {
  Button,
  Input,
  Checkbox,
  Select,
  Option,
  Carousel,
  CarouselItem,
  Submenu,
  Menu,
  MenuItemGroup,
  MenuItem,
  Pagination,
  Collapse,
  CollapseItem,
  Breadcrumb,
  BreadcrumbItem,
  ColorPicker,
  Table,
  TableColumn,
  DatePicker,
  Dialog,
  Tag,
  Radio,
  RadioGroup,
  CheckboxGroup,
  InputNumber,
  Image,
  Loading,
  Cascader,
  Tooltip,
  TabPane,
  Tabs,
} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(router);
Vue.use(store);

Vue.use(Button);
Vue.use(Input);
Vue.use(Checkbox);
Vue.use(Select);
Vue.use(Option);
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Submenu);
Vue.use(Menu);
Vue.use(MenuItem);
Vue.use(MenuItemGroup);
Vue.use(Pagination);
Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(Breadcrumb);
Vue.use(BreadcrumbItem);
Vue.use(ColorPicker);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(DatePicker);
Vue.use(Dialog);
Vue.use(Tag);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(CheckboxGroup);
Vue.use(InputNumber);
Vue.use(Image);
Vue.use(Loading);
Vue.use(Cascader);
Vue.use(Tooltip);
Vue.use(TabPane);
Vue.use(Tabs);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
